package com.iring.domain.config.prop;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * sip 配置文件
 *
 * @author wanggan
 */
@Configuration
@ConfigurationProperties(prefix = "com.zycoo.sip")
public class SIPProperties {

    private String proxyRealm;
    private String proxyPort;
    private String sipKey;
    private String sipUrl;

    @Override
    public String toString() {
        return "{proxyRealm:" + proxyRealm + ",proxyPort:" + proxyPort + ",sipKey:" + sipKey + ",sipUrl:" + sipUrl + "}";
    }

    public String getProxyRealm() {
        return proxyRealm;
    }

    public String getProxyPort() {
        return proxyPort;
    }

    public String getSipKey() {
        return sipKey;
    }

    public String getSipUrl() {
        return sipUrl;
    }

    public void setProxyRealm(String proxyRealm) {
        this.proxyRealm = proxyRealm;
    }

    public void setProxyPort(String proxyPort) {
        this.proxyPort = proxyPort;
    }

    public void setSipKey(String sipKey) {
        this.sipKey = sipKey;
    }

    public void setSipUrl(String sipUrl) {
        this.sipUrl = sipUrl;
    }
}
